CREATE TABLE [dbo].[TTGIRO_EMPR]
(
[CO_GIRO] [dbo].[TD_VC_003] NOT NULL,
[DE_GIRO_EMPR] [dbo].[TD_VC_050] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTGIRO_EM__CO_US__4FD1D5C8] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTGIRO_EM__FE_US__50C5FA01] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTGIRO_EM__CO_US__51BA1E3A] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTGIRO_EM__FE_US__52AE4273] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTGIRO_EMPR] ADD CONSTRAINT [PK__TTGIRO_E__2B0E035F5EAA0504] PRIMARY KEY CLUSTERED  ([CO_GIRO]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTGIRO_EMPR] TO [public]
GRANT INSERT ON  [dbo].[TTGIRO_EMPR] TO [public]
GRANT DELETE ON  [dbo].[TTGIRO_EMPR] TO [public]
GRANT UPDATE ON  [dbo].[TTGIRO_EMPR] TO [public]
GO
